//
//  CellForViewForHeader.m
//  ProjectA
//
//  Created by dllo on 16/1/20.
//  Copyright © 2016年 刘旺辉. All rights reserved.
//

#import "CellForViewForHeader.h"

@interface CellForViewForHeader ()

@end

@implementation CellForViewForHeader

- (void)dealloc {
    
    [_imageView release];
    [super dealloc];

}

- (instancetype)initWithFrame:(CGRect)frame {

    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor clearColor];
        self.imageView = [[UIImageView alloc] init];
        self.imageView.userInteractionEnabled = YES;
        [self addSubview:self.imageView];
        [_imageView release];
    }
    return self;
}

- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes {
    self.imageView.frame = self.bounds;
}



@end
